package com.gc.services;

import com.gc.common.resp.ApiResult;
import com.gc.dto.UserDTO;
import com.gc.pojo.SysUser;

import java.util.List;

public interface UserService {
    List<UserDTO> getShy();

    UserDTO getUserDTOByUId(Integer uid);

    SysUser getSysUserByUId(Integer uid);

    int addUser(UserDTO user);

    List<UserDTO> getAll();

    int remove(Integer userId);

    List<UserDTO> getQfy();

    int modifyUser(UserDTO user);

    SysUser getUserByLoginName(String loginName);
}
